package com.gdpu.pbss.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gdpu.pbss.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 杨
 * @since 2024-02-02
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
     List<User> getAllUser();

     Boolean updateUser(User user);

     int deleteUser(@Param("userId") Integer userId);


}
